<style>
body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.head {
    height: 60px;
    width: 100vw;
    border-bottom: 1px solid #eee
}

.main {
    width: 100vw;
    height: calc(100vh - 60px);
    display: flex;
}

.main-left {
    height: 100%;
    width: 200px;
    border-right: 1px solid #eee;
}

.main-body {
    flex: 1;
}

.body-nav {
    height: 50px;
    width: 100%;
    border-bottom: 1px solid #eee
}

.main-info {
    width: 99%;
    height: calc(100vh - 125px);
    border-radius: 4px;
    margin: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);
    padding:16px;
}

.nav-left{
    padding-top:13px;
    padding-left:10px;   
}


.el-menu {
    border-right: solid 0px red;
}
</style>


<template>
    <div>
        <div class="head">
            <myhead></myhead>
        </div>
        <div class="main">
            <div class="main-left">
                <mymenu></mymenu>

            </div>
            <div class="main-body">
                <div class="body-nav">
                    <navbar></navbar>
                </div>
                <div class="main-info">
                    <router-view></router-view>
                </div>
            </div>
        </div>
    </div>
</template>

<script>
import mymenu from '@/components/layout/menu.vue';
import navbar from '@/components/layout/navbar.vue';
import myhead from '@/components/layout/head.vue'

export default {
    data: () => {
        return {
            msg: ''
        }
    },
    components: {
        mymenu,
        navbar,
        myhead
    }

}

</script>

<style>
body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
}

.head {
    height: 60px;
    /* background-color: #000; */
    width: 100vw;
    border-bottom: 1px solid #eee;
}

.main {
    width: 100vw;
    height: calc(100vh - 61px);

    display: flex;
}

.main-left {
    height: calc(100vh - 61px);
    border-right: 1px solid #eee;
}

.left-menu {

    height: calc(100vh - 61px);
    border-right: 1px solid #000;
}

.main-body {
    flex: 1;
}

.body-nav {
    height: 50px;
    width: 100%;
    border-bottom: 1px solid #eee;
    /* background-color: pink; */
}

.el-menu {
    border-right: solid 0px #e6e6e6;
    list-style: none;
    position: relative;
    margin: 0;
    padding-left: 0;
    background-color: #FFF;
}
</style>